package com.jic.market.common.constant;

/**
 * @author: gaolanyu
 * @date: 2020-01-15
 * @remark: 优惠券常量
 */
public interface CouponConstant {
    // '活动状态 1 待提交  2 待审核  3未开始 4 审核不通过  5 进行中  6 已过期  7 已关闭',
    interface CouponType {
        String COUPON = "11";
        String REDENVELOPE = "12";
    }

    // '活动状态 1 待提交  2 待审核  3未开始 4 审核不通过  5 进行中  6 已过期  7 已关闭',
//    interface CouponStatus {
//        String INIT = "0";
//        String CLOSE = "7";
//        String StaySubmit = "1";
//        String ING = "5";
//        String TEMPLATE = "10";
//        String AUDITPASS = "9";
//    }

    // 0已发放 1已领取 2已使用 3已过期
    interface CouponDetailStatus {
        String GRANT = "0";
        String REVICE = "1";
        String USE = "2";
        String EXPIRED = "3";
    }

    //TODO 暂时先这样，后期改为异常类，并把公共错误原因放入common包
    interface Exception {
        String ERROR_CODE = "9999";
        String ERROR_MESSAGE = "系统异常,请联系客服!";
    }

    interface TriggerType {
        String NORMAL = "0";
        String SKILL = "4";
        String GROUP = "5";
    }

    interface TriggerId {
        String PAGE = "00";
    }

    interface Orerlay {
        interface Status {
            String INIT = "0";
            String OPEN = "1";
            String CLOSE = "2";
        }

        interface FullAmountReduceFlag {
            String reduceNo = "0";
            String reduceYes = "1";
        }

        Integer PROMOTION_NUM_MIN_LIMIT = 2;
    }
}
